package com.jsh.erp.datasource.entities;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WorkflowApproveDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WorkflowApproveDetailExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTaskTitleIsNull() {
            addCriterion("task_title is null");
            return (Criteria) this;
        }

        public Criteria andTaskTitleIsNotNull() {
            addCriterion("task_title is not null");
            return (Criteria) this;
        }

        public Criteria andTaskTitleEqualTo(String value) {
            addCriterion("task_title =", value, "taskTitle");
            return (Criteria) this;
        }

        public Criteria andTaskTitleNotEqualTo(String value) {
            addCriterion("task_title <>", value, "taskTitle");
            return (Criteria) this;
        }

        public Criteria andTaskTitleGreaterThan(String value) {
            addCriterion("task_title >", value, "taskTitle");
            return (Criteria) this;
        }

        public Criteria andTaskTitleGreaterThanOrEqualTo(String value) {
            addCriterion("task_title >=", value, "taskTitle");
            return (Criteria) this;
        }

        public Criteria andTaskTitleLessThan(String value) {
            addCriterion("task_title <", value, "taskTitle");
            return (Criteria) this;
        }

        public Criteria andTaskTitleLessThanOrEqualTo(String value) {
            addCriterion("task_title <=", value, "taskTitle");
            return (Criteria) this;
        }

        public Criteria andTaskTitleLike(String value) {
            addCriterion("task_title like", value, "taskTitle");
            return (Criteria) this;
        }

        public Criteria andTaskTitleNotLike(String value) {
            addCriterion("task_title not like", value, "taskTitle");
            return (Criteria) this;
        }

        public Criteria andTaskTitleIn(List<String> values) {
            addCriterion("task_title in", values, "taskTitle");
            return (Criteria) this;
        }

        public Criteria andTaskTitleNotIn(List<String> values) {
            addCriterion("task_title not in", values, "taskTitle");
            return (Criteria) this;
        }

        public Criteria andTaskTitleBetween(String value1, String value2) {
            addCriterion("task_title between", value1, value2, "taskTitle");
            return (Criteria) this;
        }

        public Criteria andTaskTitleNotBetween(String value1, String value2) {
            addCriterion("task_title not between", value1, value2, "taskTitle");
            return (Criteria) this;
        }

        public Criteria andProcessDetailIdIsNull() {
            addCriterion("PROCESS_DETAIL_ID is null");
            return (Criteria) this;
        }

        public Criteria andProcessDetailIdIsNotNull() {
            addCriterion("PROCESS_DETAIL_ID is not null");
            return (Criteria) this;
        }

        public Criteria andProcessDetailIdEqualTo(String value) {
            addCriterion("PROCESS_DETAIL_ID =", value, "processDetailId");
            return (Criteria) this;
        }

        public Criteria andProcessDetailIdNotEqualTo(String value) {
            addCriterion("PROCESS_DETAIL_ID <>", value, "processDetailId");
            return (Criteria) this;
        }

        public Criteria andProcessDetailIdGreaterThan(String value) {
            addCriterion("PROCESS_DETAIL_ID >", value, "processDetailId");
            return (Criteria) this;
        }

        public Criteria andProcessDetailIdGreaterThanOrEqualTo(String value) {
            addCriterion("PROCESS_DETAIL_ID >=", value, "processDetailId");
            return (Criteria) this;
        }

        public Criteria andProcessDetailIdLessThan(String value) {
            addCriterion("PROCESS_DETAIL_ID <", value, "processDetailId");
            return (Criteria) this;
        }

        public Criteria andProcessDetailIdLessThanOrEqualTo(String value) {
            addCriterion("PROCESS_DETAIL_ID <=", value, "processDetailId");
            return (Criteria) this;
        }

        public Criteria andProcessDetailIdLike(String value) {
            addCriterion("PROCESS_DETAIL_ID like", value, "processDetailId");
            return (Criteria) this;
        }

        public Criteria andProcessDetailIdNotLike(String value) {
            addCriterion("PROCESS_DETAIL_ID not like", value, "processDetailId");
            return (Criteria) this;
        }

        public Criteria andProcessDetailIdIn(List<String> values) {
            addCriterion("PROCESS_DETAIL_ID in", values, "processDetailId");
            return (Criteria) this;
        }

        public Criteria andProcessDetailIdNotIn(List<String> values) {
            addCriterion("PROCESS_DETAIL_ID not in", values, "processDetailId");
            return (Criteria) this;
        }

        public Criteria andProcessDetailIdBetween(String value1, String value2) {
            addCriterion("PROCESS_DETAIL_ID between", value1, value2, "processDetailId");
            return (Criteria) this;
        }

        public Criteria andProcessDetailIdNotBetween(String value1, String value2) {
            addCriterion("PROCESS_DETAIL_ID not between", value1, value2, "processDetailId");
            return (Criteria) this;
        }

        public Criteria andApproveAccountIsNull() {
            addCriterion("APPROVE_ACCOUNT is null");
            return (Criteria) this;
        }

        public Criteria andApproveAccountIsNotNull() {
            addCriterion("APPROVE_ACCOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andApproveAccountEqualTo(String value) {
            addCriterion("APPROVE_ACCOUNT =", value, "approveAccount");
            return (Criteria) this;
        }

        public Criteria andApproveAccountNotEqualTo(String value) {
            addCriterion("APPROVE_ACCOUNT <>", value, "approveAccount");
            return (Criteria) this;
        }

        public Criteria andApproveAccountGreaterThan(String value) {
            addCriterion("APPROVE_ACCOUNT >", value, "approveAccount");
            return (Criteria) this;
        }

        public Criteria andApproveAccountGreaterThanOrEqualTo(String value) {
            addCriterion("APPROVE_ACCOUNT >=", value, "approveAccount");
            return (Criteria) this;
        }

        public Criteria andApproveAccountLessThan(String value) {
            addCriterion("APPROVE_ACCOUNT <", value, "approveAccount");
            return (Criteria) this;
        }

        public Criteria andApproveAccountLessThanOrEqualTo(String value) {
            addCriterion("APPROVE_ACCOUNT <=", value, "approveAccount");
            return (Criteria) this;
        }

        public Criteria andApproveAccountLike(String value) {
            addCriterion("APPROVE_ACCOUNT like", value, "approveAccount");
            return (Criteria) this;
        }

        public Criteria andApproveAccountNotLike(String value) {
            addCriterion("APPROVE_ACCOUNT not like", value, "approveAccount");
            return (Criteria) this;
        }

        public Criteria andApproveAccountIn(List<String> values) {
            addCriterion("APPROVE_ACCOUNT in", values, "approveAccount");
            return (Criteria) this;
        }

        public Criteria andApproveAccountNotIn(List<String> values) {
            addCriterion("APPROVE_ACCOUNT not in", values, "approveAccount");
            return (Criteria) this;
        }

        public Criteria andApproveAccountBetween(String value1, String value2) {
            addCriterion("APPROVE_ACCOUNT between", value1, value2, "approveAccount");
            return (Criteria) this;
        }

        public Criteria andApproveAccountNotBetween(String value1, String value2) {
            addCriterion("APPROVE_ACCOUNT not between", value1, value2, "approveAccount");
            return (Criteria) this;
        }

        public Criteria andApproveNameIsNull() {
            addCriterion("APPROVE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andApproveNameIsNotNull() {
            addCriterion("APPROVE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andApproveNameEqualTo(String value) {
            addCriterion("APPROVE_NAME =", value, "approveName");
            return (Criteria) this;
        }

        public Criteria andApproveNameNotEqualTo(String value) {
            addCriterion("APPROVE_NAME <>", value, "approveName");
            return (Criteria) this;
        }

        public Criteria andApproveNameGreaterThan(String value) {
            addCriterion("APPROVE_NAME >", value, "approveName");
            return (Criteria) this;
        }

        public Criteria andApproveNameGreaterThanOrEqualTo(String value) {
            addCriterion("APPROVE_NAME >=", value, "approveName");
            return (Criteria) this;
        }

        public Criteria andApproveNameLessThan(String value) {
            addCriterion("APPROVE_NAME <", value, "approveName");
            return (Criteria) this;
        }

        public Criteria andApproveNameLessThanOrEqualTo(String value) {
            addCriterion("APPROVE_NAME <=", value, "approveName");
            return (Criteria) this;
        }

        public Criteria andApproveNameLike(String value) {
            addCriterion("APPROVE_NAME like", value, "approveName");
            return (Criteria) this;
        }

        public Criteria andApproveNameNotLike(String value) {
            addCriterion("APPROVE_NAME not like", value, "approveName");
            return (Criteria) this;
        }

        public Criteria andApproveNameIn(List<String> values) {
            addCriterion("APPROVE_NAME in", values, "approveName");
            return (Criteria) this;
        }

        public Criteria andApproveNameNotIn(List<String> values) {
            addCriterion("APPROVE_NAME not in", values, "approveName");
            return (Criteria) this;
        }

        public Criteria andApproveNameBetween(String value1, String value2) {
            addCriterion("APPROVE_NAME between", value1, value2, "approveName");
            return (Criteria) this;
        }

        public Criteria andApproveNameNotBetween(String value1, String value2) {
            addCriterion("APPROVE_NAME not between", value1, value2, "approveName");
            return (Criteria) this;
        }

        public Criteria andApproveMsgIsNull() {
            addCriterion("APPROVE_MSG is null");
            return (Criteria) this;
        }

        public Criteria andApproveMsgIsNotNull() {
            addCriterion("APPROVE_MSG is not null");
            return (Criteria) this;
        }

        public Criteria andApproveMsgEqualTo(String value) {
            addCriterion("APPROVE_MSG =", value, "approveMsg");
            return (Criteria) this;
        }

        public Criteria andApproveMsgNotEqualTo(String value) {
            addCriterion("APPROVE_MSG <>", value, "approveMsg");
            return (Criteria) this;
        }

        public Criteria andApproveMsgGreaterThan(String value) {
            addCriterion("APPROVE_MSG >", value, "approveMsg");
            return (Criteria) this;
        }

        public Criteria andApproveMsgGreaterThanOrEqualTo(String value) {
            addCriterion("APPROVE_MSG >=", value, "approveMsg");
            return (Criteria) this;
        }

        public Criteria andApproveMsgLessThan(String value) {
            addCriterion("APPROVE_MSG <", value, "approveMsg");
            return (Criteria) this;
        }

        public Criteria andApproveMsgLessThanOrEqualTo(String value) {
            addCriterion("APPROVE_MSG <=", value, "approveMsg");
            return (Criteria) this;
        }

        public Criteria andApproveMsgLike(String value) {
            addCriterion("APPROVE_MSG like", value, "approveMsg");
            return (Criteria) this;
        }

        public Criteria andApproveMsgNotLike(String value) {
            addCriterion("APPROVE_MSG not like", value, "approveMsg");
            return (Criteria) this;
        }

        public Criteria andApproveMsgIn(List<String> values) {
            addCriterion("APPROVE_MSG in", values, "approveMsg");
            return (Criteria) this;
        }

        public Criteria andApproveMsgNotIn(List<String> values) {
            addCriterion("APPROVE_MSG not in", values, "approveMsg");
            return (Criteria) this;
        }

        public Criteria andApproveMsgBetween(String value1, String value2) {
            addCriterion("APPROVE_MSG between", value1, value2, "approveMsg");
            return (Criteria) this;
        }

        public Criteria andApproveMsgNotBetween(String value1, String value2) {
            addCriterion("APPROVE_MSG not between", value1, value2, "approveMsg");
            return (Criteria) this;
        }

        public Criteria andApproveTypeIsNull() {
            addCriterion("APPROVE_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andApproveTypeIsNotNull() {
            addCriterion("APPROVE_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andApproveTypeEqualTo(String value) {
            addCriterion("APPROVE_TYPE =", value, "approveType");
            return (Criteria) this;
        }

        public Criteria andApproveTypeNotEqualTo(String value) {
            addCriterion("APPROVE_TYPE <>", value, "approveType");
            return (Criteria) this;
        }

        public Criteria andApproveTypeGreaterThan(String value) {
            addCriterion("APPROVE_TYPE >", value, "approveType");
            return (Criteria) this;
        }

        public Criteria andApproveTypeGreaterThanOrEqualTo(String value) {
            addCriterion("APPROVE_TYPE >=", value, "approveType");
            return (Criteria) this;
        }

        public Criteria andApproveTypeLessThan(String value) {
            addCriterion("APPROVE_TYPE <", value, "approveType");
            return (Criteria) this;
        }

        public Criteria andApproveTypeLessThanOrEqualTo(String value) {
            addCriterion("APPROVE_TYPE <=", value, "approveType");
            return (Criteria) this;
        }

        public Criteria andApproveTypeLike(String value) {
            addCriterion("APPROVE_TYPE like", value, "approveType");
            return (Criteria) this;
        }

        public Criteria andApproveTypeNotLike(String value) {
            addCriterion("APPROVE_TYPE not like", value, "approveType");
            return (Criteria) this;
        }

        public Criteria andApproveTypeIn(List<String> values) {
            addCriterion("APPROVE_TYPE in", values, "approveType");
            return (Criteria) this;
        }

        public Criteria andApproveTypeNotIn(List<String> values) {
            addCriterion("APPROVE_TYPE not in", values, "approveType");
            return (Criteria) this;
        }

        public Criteria andApproveTypeBetween(String value1, String value2) {
            addCriterion("APPROVE_TYPE between", value1, value2, "approveType");
            return (Criteria) this;
        }

        public Criteria andApproveTypeNotBetween(String value1, String value2) {
            addCriterion("APPROVE_TYPE not between", value1, value2, "approveType");
            return (Criteria) this;
        }

        public Criteria andBeginDateIsNull() {
            addCriterion("BEGIN_DATE is null");
            return (Criteria) this;
        }

        public Criteria andBeginDateIsNotNull() {
            addCriterion("BEGIN_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andBeginDateEqualTo(Date value) {
            addCriterion("BEGIN_DATE =", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateNotEqualTo(Date value) {
            addCriterion("BEGIN_DATE <>", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateGreaterThan(Date value) {
            addCriterion("BEGIN_DATE >", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateGreaterThanOrEqualTo(Date value) {
            addCriterion("BEGIN_DATE >=", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateLessThan(Date value) {
            addCriterion("BEGIN_DATE <", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateLessThanOrEqualTo(Date value) {
            addCriterion("BEGIN_DATE <=", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateIn(List<Date> values) {
            addCriterion("BEGIN_DATE in", values, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateNotIn(List<Date> values) {
            addCriterion("BEGIN_DATE not in", values, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateBetween(Date value1, Date value2) {
            addCriterion("BEGIN_DATE between", value1, value2, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateNotBetween(Date value1, Date value2) {
            addCriterion("BEGIN_DATE not between", value1, value2, "beginDate");
            return (Criteria) this;
        }

        public Criteria andApproveDateIsNull() {
            addCriterion("APPROVE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andApproveDateIsNotNull() {
            addCriterion("APPROVE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andApproveDateEqualTo(Date value) {
            addCriterion("APPROVE_DATE =", value, "approveDate");
            return (Criteria) this;
        }

        public Criteria andApproveDateNotEqualTo(Date value) {
            addCriterion("APPROVE_DATE <>", value, "approveDate");
            return (Criteria) this;
        }

        public Criteria andApproveDateGreaterThan(Date value) {
            addCriterion("APPROVE_DATE >", value, "approveDate");
            return (Criteria) this;
        }

        public Criteria andApproveDateGreaterThanOrEqualTo(Date value) {
            addCriterion("APPROVE_DATE >=", value, "approveDate");
            return (Criteria) this;
        }

        public Criteria andApproveDateLessThan(Date value) {
            addCriterion("APPROVE_DATE <", value, "approveDate");
            return (Criteria) this;
        }

        public Criteria andApproveDateLessThanOrEqualTo(Date value) {
            addCriterion("APPROVE_DATE <=", value, "approveDate");
            return (Criteria) this;
        }

        public Criteria andApproveDateIn(List<Date> values) {
            addCriterion("APPROVE_DATE in", values, "approveDate");
            return (Criteria) this;
        }

        public Criteria andApproveDateNotIn(List<Date> values) {
            addCriterion("APPROVE_DATE not in", values, "approveDate");
            return (Criteria) this;
        }

        public Criteria andApproveDateBetween(Date value1, Date value2) {
            addCriterion("APPROVE_DATE between", value1, value2, "approveDate");
            return (Criteria) this;
        }

        public Criteria andApproveDateNotBetween(Date value1, Date value2) {
            addCriterion("APPROVE_DATE not between", value1, value2, "approveDate");
            return (Criteria) this;
        }

        public Criteria andSysOwnerCpyIsNull() {
            addCriterion("SYS_OWNER_CPY is null");
            return (Criteria) this;
        }

        public Criteria andSysOwnerCpyIsNotNull() {
            addCriterion("SYS_OWNER_CPY is not null");
            return (Criteria) this;
        }

        public Criteria andSysOwnerCpyEqualTo(String value) {
            addCriterion("SYS_OWNER_CPY =", value, "sysOwnerCpy");
            return (Criteria) this;
        }

        public Criteria andSysOwnerCpyNotEqualTo(String value) {
            addCriterion("SYS_OWNER_CPY <>", value, "sysOwnerCpy");
            return (Criteria) this;
        }

        public Criteria andSysOwnerCpyGreaterThan(String value) {
            addCriterion("SYS_OWNER_CPY >", value, "sysOwnerCpy");
            return (Criteria) this;
        }

        public Criteria andSysOwnerCpyGreaterThanOrEqualTo(String value) {
            addCriterion("SYS_OWNER_CPY >=", value, "sysOwnerCpy");
            return (Criteria) this;
        }

        public Criteria andSysOwnerCpyLessThan(String value) {
            addCriterion("SYS_OWNER_CPY <", value, "sysOwnerCpy");
            return (Criteria) this;
        }

        public Criteria andSysOwnerCpyLessThanOrEqualTo(String value) {
            addCriterion("SYS_OWNER_CPY <=", value, "sysOwnerCpy");
            return (Criteria) this;
        }

        public Criteria andSysOwnerCpyLike(String value) {
            addCriterion("SYS_OWNER_CPY like", value, "sysOwnerCpy");
            return (Criteria) this;
        }

        public Criteria andSysOwnerCpyNotLike(String value) {
            addCriterion("SYS_OWNER_CPY not like", value, "sysOwnerCpy");
            return (Criteria) this;
        }

        public Criteria andSysOwnerCpyIn(List<String> values) {
            addCriterion("SYS_OWNER_CPY in", values, "sysOwnerCpy");
            return (Criteria) this;
        }

        public Criteria andSysOwnerCpyNotIn(List<String> values) {
            addCriterion("SYS_OWNER_CPY not in", values, "sysOwnerCpy");
            return (Criteria) this;
        }

        public Criteria andSysOwnerCpyBetween(String value1, String value2) {
            addCriterion("SYS_OWNER_CPY between", value1, value2, "sysOwnerCpy");
            return (Criteria) this;
        }

        public Criteria andSysOwnerCpyNotBetween(String value1, String value2) {
            addCriterion("SYS_OWNER_CPY not between", value1, value2, "sysOwnerCpy");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andAttribute1IsNull() {
            addCriterion("ATTRIBUTE1 is null");
            return (Criteria) this;
        }

        public Criteria andAttribute1IsNotNull() {
            addCriterion("ATTRIBUTE1 is not null");
            return (Criteria) this;
        }

        public Criteria andAttribute1EqualTo(String value) {
            addCriterion("ATTRIBUTE1 =", value, "attribute1");
            return (Criteria) this;
        }

        public Criteria andAttribute1NotEqualTo(String value) {
            addCriterion("ATTRIBUTE1 <>", value, "attribute1");
            return (Criteria) this;
        }

        public Criteria andAttribute1GreaterThan(String value) {
            addCriterion("ATTRIBUTE1 >", value, "attribute1");
            return (Criteria) this;
        }

        public Criteria andAttribute1GreaterThanOrEqualTo(String value) {
            addCriterion("ATTRIBUTE1 >=", value, "attribute1");
            return (Criteria) this;
        }

        public Criteria andAttribute1LessThan(String value) {
            addCriterion("ATTRIBUTE1 <", value, "attribute1");
            return (Criteria) this;
        }

        public Criteria andAttribute1LessThanOrEqualTo(String value) {
            addCriterion("ATTRIBUTE1 <=", value, "attribute1");
            return (Criteria) this;
        }

        public Criteria andAttribute1Like(String value) {
            addCriterion("ATTRIBUTE1 like", value, "attribute1");
            return (Criteria) this;
        }

        public Criteria andAttribute1NotLike(String value) {
            addCriterion("ATTRIBUTE1 not like", value, "attribute1");
            return (Criteria) this;
        }

        public Criteria andAttribute1In(List<String> values) {
            addCriterion("ATTRIBUTE1 in", values, "attribute1");
            return (Criteria) this;
        }

        public Criteria andAttribute1NotIn(List<String> values) {
            addCriterion("ATTRIBUTE1 not in", values, "attribute1");
            return (Criteria) this;
        }

        public Criteria andAttribute1Between(String value1, String value2) {
            addCriterion("ATTRIBUTE1 between", value1, value2, "attribute1");
            return (Criteria) this;
        }

        public Criteria andAttribute1NotBetween(String value1, String value2) {
            addCriterion("ATTRIBUTE1 not between", value1, value2, "attribute1");
            return (Criteria) this;
        }

        public Criteria andAttribute2IsNull() {
            addCriterion("ATTRIBUTE2 is null");
            return (Criteria) this;
        }

        public Criteria andAttribute2IsNotNull() {
            addCriterion("ATTRIBUTE2 is not null");
            return (Criteria) this;
        }

        public Criteria andAttribute2EqualTo(String value) {
            addCriterion("ATTRIBUTE2 =", value, "attribute2");
            return (Criteria) this;
        }

        public Criteria andAttribute2NotEqualTo(String value) {
            addCriterion("ATTRIBUTE2 <>", value, "attribute2");
            return (Criteria) this;
        }

        public Criteria andAttribute2GreaterThan(String value) {
            addCriterion("ATTRIBUTE2 >", value, "attribute2");
            return (Criteria) this;
        }

        public Criteria andAttribute2GreaterThanOrEqualTo(String value) {
            addCriterion("ATTRIBUTE2 >=", value, "attribute2");
            return (Criteria) this;
        }

        public Criteria andAttribute2LessThan(String value) {
            addCriterion("ATTRIBUTE2 <", value, "attribute2");
            return (Criteria) this;
        }

        public Criteria andAttribute2LessThanOrEqualTo(String value) {
            addCriterion("ATTRIBUTE2 <=", value, "attribute2");
            return (Criteria) this;
        }

        public Criteria andAttribute2Like(String value) {
            addCriterion("ATTRIBUTE2 like", value, "attribute2");
            return (Criteria) this;
        }

        public Criteria andAttribute2NotLike(String value) {
            addCriterion("ATTRIBUTE2 not like", value, "attribute2");
            return (Criteria) this;
        }

        public Criteria andAttribute2In(List<String> values) {
            addCriterion("ATTRIBUTE2 in", values, "attribute2");
            return (Criteria) this;
        }

        public Criteria andAttribute2NotIn(List<String> values) {
            addCriterion("ATTRIBUTE2 not in", values, "attribute2");
            return (Criteria) this;
        }

        public Criteria andAttribute2Between(String value1, String value2) {
            addCriterion("ATTRIBUTE2 between", value1, value2, "attribute2");
            return (Criteria) this;
        }

        public Criteria andAttribute2NotBetween(String value1, String value2) {
            addCriterion("ATTRIBUTE2 not between", value1, value2, "attribute2");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagEqualTo(String value) {
            addCriterion("delete_flag =", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotEqualTo(String value) {
            addCriterion("delete_flag <>", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThan(String value) {
            addCriterion("delete_flag >", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
            addCriterion("delete_flag >=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThan(String value) {
            addCriterion("delete_flag <", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
            addCriterion("delete_flag <=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLike(String value) {
            addCriterion("delete_flag like", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotLike(String value) {
            addCriterion("delete_flag not like", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIn(List<String> values) {
            addCriterion("delete_flag in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotIn(List<String> values) {
            addCriterion("delete_flag not in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagBetween(String value1, String value2) {
            addCriterion("delete_flag between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotBetween(String value1, String value2) {
            addCriterion("delete_flag not between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNull() {
            addCriterion("tenant_id is null");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNotNull() {
            addCriterion("tenant_id is not null");
            return (Criteria) this;
        }

        public Criteria andTenantIdEqualTo(String value) {
            addCriterion("tenant_id =", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotEqualTo(String value) {
            addCriterion("tenant_id <>", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThan(String value) {
            addCriterion("tenant_id >", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_id >=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThan(String value) {
            addCriterion("tenant_id <", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThanOrEqualTo(String value) {
            addCriterion("tenant_id <=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLike(String value) {
            addCriterion("tenant_id like", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotLike(String value) {
            addCriterion("tenant_id not like", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdIn(List<String> values) {
            addCriterion("tenant_id in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotIn(List<String> values) {
            addCriterion("tenant_id not in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdBetween(String value1, String value2) {
            addCriterion("tenant_id between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotBetween(String value1, String value2) {
            addCriterion("tenant_id not between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andProcessIsNull() {
            addCriterion("process is null");
            return (Criteria) this;
        }

        public Criteria andProcessIsNotNull() {
            addCriterion("process is not null");
            return (Criteria) this;
        }

        public Criteria andProcessEqualTo(Integer value) {
            addCriterion("process =", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessNotEqualTo(Integer value) {
            addCriterion("process <>", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessGreaterThan(Integer value) {
            addCriterion("process >", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessGreaterThanOrEqualTo(Integer value) {
            addCriterion("process >=", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessLessThan(Integer value) {
            addCriterion("process <", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessLessThanOrEqualTo(Integer value) {
            addCriterion("process <=", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessIn(List<Integer> values) {
            addCriterion("process in", values, "process");
            return (Criteria) this;
        }

        public Criteria andProcessNotIn(List<Integer> values) {
            addCriterion("process not in", values, "process");
            return (Criteria) this;
        }

        public Criteria andProcessBetween(Integer value1, Integer value2) {
            addCriterion("process between", value1, value2, "process");
            return (Criteria) this;
        }

        public Criteria andProcessNotBetween(Integer value1, Integer value2) {
            addCriterion("process not between", value1, value2, "process");
            return (Criteria) this;
        }

        public Criteria andConfigIdIsNull() {
            addCriterion("config_id is null");
            return (Criteria) this;
        }

        public Criteria andConfigIdIsNotNull() {
            addCriterion("config_id is not null");
            return (Criteria) this;
        }

        public Criteria andConfigIdEqualTo(String value) {
            addCriterion("config_id =", value, "configId");
            return (Criteria) this;
        }

        public Criteria andConfigIdNotEqualTo(String value) {
            addCriterion("config_id <>", value, "configId");
            return (Criteria) this;
        }

        public Criteria andConfigIdGreaterThan(String value) {
            addCriterion("config_id >", value, "configId");
            return (Criteria) this;
        }

        public Criteria andConfigIdGreaterThanOrEqualTo(String value) {
            addCriterion("config_id >=", value, "configId");
            return (Criteria) this;
        }

        public Criteria andConfigIdLessThan(String value) {
            addCriterion("config_id <", value, "configId");
            return (Criteria) this;
        }

        public Criteria andConfigIdLessThanOrEqualTo(String value) {
            addCriterion("config_id <=", value, "configId");
            return (Criteria) this;
        }

        public Criteria andConfigIdLike(String value) {
            addCriterion("config_id like", value, "configId");
            return (Criteria) this;
        }

        public Criteria andConfigIdNotLike(String value) {
            addCriterion("config_id not like", value, "configId");
            return (Criteria) this;
        }

        public Criteria andConfigIdIn(List<String> values) {
            addCriterion("config_id in", values, "configId");
            return (Criteria) this;
        }

        public Criteria andConfigIdNotIn(List<String> values) {
            addCriterion("config_id not in", values, "configId");
            return (Criteria) this;
        }

        public Criteria andConfigIdBetween(String value1, String value2) {
            addCriterion("config_id between", value1, value2, "configId");
            return (Criteria) this;
        }

        public Criteria andConfigIdNotBetween(String value1, String value2) {
            addCriterion("config_id not between", value1, value2, "configId");
            return (Criteria) this;
        }

        public Criteria andBusinessKeyIsNull() {
            addCriterion("BUSINESS_KEY is null");
            return (Criteria) this;
        }

        public Criteria andBusinessKeyIsNotNull() {
            addCriterion("BUSINESS_KEY is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessKeyEqualTo(String value) {
            addCriterion("BUSINESS_KEY =", value, "businessKey");
            return (Criteria) this;
        }

        public Criteria andBusinessKeyNotEqualTo(String value) {
            addCriterion("BUSINESS_KEY <>", value, "businessKey");
            return (Criteria) this;
        }

        public Criteria andBusinessKeyGreaterThan(String value) {
            addCriterion("BUSINESS_KEY >", value, "businessKey");
            return (Criteria) this;
        }

        public Criteria andBusinessKeyGreaterThanOrEqualTo(String value) {
            addCriterion("BUSINESS_KEY >=", value, "businessKey");
            return (Criteria) this;
        }

        public Criteria andBusinessKeyLessThan(String value) {
            addCriterion("BUSINESS_KEY <", value, "businessKey");
            return (Criteria) this;
        }

        public Criteria andBusinessKeyLessThanOrEqualTo(String value) {
            addCriterion("BUSINESS_KEY <=", value, "businessKey");
            return (Criteria) this;
        }

        public Criteria andBusinessKeyLike(String value) {
            addCriterion("BUSINESS_KEY like", value, "businessKey");
            return (Criteria) this;
        }

        public Criteria andBusinessKeyNotLike(String value) {
            addCriterion("BUSINESS_KEY not like", value, "businessKey");
            return (Criteria) this;
        }

        public Criteria andBusinessKeyIn(List<String> values) {
            addCriterion("BUSINESS_KEY in", values, "businessKey");
            return (Criteria) this;
        }

        public Criteria andBusinessKeyNotIn(List<String> values) {
            addCriterion("BUSINESS_KEY not in", values, "businessKey");
            return (Criteria) this;
        }

        public Criteria andBusinessKeyBetween(String value1, String value2) {
            addCriterion("BUSINESS_KEY between", value1, value2, "businessKey");
            return (Criteria) this;
        }

        public Criteria andBusinessKeyNotBetween(String value1, String value2) {
            addCriterion("BUSINESS_KEY not between", value1, value2, "businessKey");
            return (Criteria) this;
        }

        public Criteria andFlowKeyIsNull() {
            addCriterion("FLOW_KEY is null");
            return (Criteria) this;
        }

        public Criteria andFlowKeyIsNotNull() {
            addCriterion("FLOW_KEY is not null");
            return (Criteria) this;
        }

        public Criteria andFlowKeyEqualTo(String value) {
            addCriterion("FLOW_KEY =", value, "flowKey");
            return (Criteria) this;
        }

        public Criteria andFlowKeyNotEqualTo(String value) {
            addCriterion("FLOW_KEY <>", value, "flowKey");
            return (Criteria) this;
        }

        public Criteria andFlowKeyGreaterThan(String value) {
            addCriterion("FLOW_KEY >", value, "flowKey");
            return (Criteria) this;
        }

        public Criteria andFlowKeyGreaterThanOrEqualTo(String value) {
            addCriterion("FLOW_KEY >=", value, "flowKey");
            return (Criteria) this;
        }

        public Criteria andFlowKeyLessThan(String value) {
            addCriterion("FLOW_KEY <", value, "flowKey");
            return (Criteria) this;
        }

        public Criteria andFlowKeyLessThanOrEqualTo(String value) {
            addCriterion("FLOW_KEY <=", value, "flowKey");
            return (Criteria) this;
        }

        public Criteria andFlowKeyLike(String value) {
            addCriterion("FLOW_KEY like", value, "flowKey");
            return (Criteria) this;
        }

        public Criteria andFlowKeyNotLike(String value) {
            addCriterion("FLOW_KEY not like", value, "flowKey");
            return (Criteria) this;
        }

        public Criteria andFlowKeyIn(List<String> values) {
            addCriterion("FLOW_KEY in", values, "flowKey");
            return (Criteria) this;
        }

        public Criteria andFlowKeyNotIn(List<String> values) {
            addCriterion("FLOW_KEY not in", values, "flowKey");
            return (Criteria) this;
        }

        public Criteria andFlowKeyBetween(String value1, String value2) {
            addCriterion("FLOW_KEY between", value1, value2, "flowKey");
            return (Criteria) this;
        }

        public Criteria andFlowKeyNotBetween(String value1, String value2) {
            addCriterion("FLOW_KEY not between", value1, value2, "flowKey");
            return (Criteria) this;
        }

        public Criteria andUploadFlagIsNull() {
            addCriterion("upload_flag is null");
            return (Criteria) this;
        }

        public Criteria andUploadFlagIsNotNull() {
            addCriterion("upload_flag is not null");
            return (Criteria) this;
        }

        public Criteria andUploadFlagEqualTo(String value) {
            addCriterion("upload_flag =", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagNotEqualTo(String value) {
            addCriterion("upload_flag <>", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagGreaterThan(String value) {
            addCriterion("upload_flag >", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagGreaterThanOrEqualTo(String value) {
            addCriterion("upload_flag >=", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagLessThan(String value) {
            addCriterion("upload_flag <", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagLessThanOrEqualTo(String value) {
            addCriterion("upload_flag <=", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagLike(String value) {
            addCriterion("upload_flag like", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagNotLike(String value) {
            addCriterion("upload_flag not like", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagIn(List<String> values) {
            addCriterion("upload_flag in", values, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagNotIn(List<String> values) {
            addCriterion("upload_flag not in", values, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagBetween(String value1, String value2) {
            addCriterion("upload_flag between", value1, value2, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagNotBetween(String value1, String value2) {
            addCriterion("upload_flag not between", value1, value2, "uploadFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}